import {
  request
} from '@/utils/http';
import common from '../utils/common';

// 获取导航栏职位
const getRecruitmentNav = () => request({data: {compId: common.getCompId()}}, 'app/listRecruitmentName');

// 获取搜索条件
const getSearchCondition  = (params) => request(params, 'app/getSearchCondition');

// 获取主动招聘简历列表
const getRecruitResumeList = (params) => request(params, 'app/initiativeRecruitResumeList');

// 设置搜索条件
const addSearchCondition = (params) => request(params, 'app/addSearchCondition');

export default {
  getRecruitmentNav,
  getSearchCondition,
  getRecruitResumeList,
  addSearchCondition
}
